package com.miku.utils.resp;

import com.miku.db.define.CodeDef;


public class Echo<T> {
	private String status;
	private T msg;
	
	public boolean successd(){
		return status == CodeDef.echoSuccess;
	}	
	public Echo(){
		
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public T getMsg() {
		return msg;
	}
	public void setMsg(T msg) {
		this.msg = msg;
	}
	public Echo(String status, T msg) {
		this.status = status;
		this.msg = msg;
	}
}
